/* 聊天动作按钮基础样式 */
.chat-action-button {
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	padding: 4px;
	font-size: 0.8rem;
	opacity: 0.7;
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	-webkit-user-select: none;
	user-select: none;
	transition: all 0.3s;
}

.execute-code-button {
	background: none;
	border: none;
	color: inherit;
	font-size: 1.2rem;
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 10;
    width: 20px;
    height: 20px;
	cursor: pointer;
}

/* 聊天动作按钮悬停样式 */
.execute-code-button:hover,
.chat-action-button:hover {
	opacity: 1;
	transform: translateY(3px) scale(1.5);
}

/* 聊天动作按钮伪元素样式 */
.execute-code-button:after,
.chat-action-button:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: rgba(255, 255, 255, 0.5);
	opacity: 0;
	border-radius: 100%;
	transform: scale(1, 1) translate(-50%);
	transform-origin: 50% 50%;
}